package cn.panda.edu.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author 苑庆涛
 * @create 2019-02-26 11:34
 */
@Controller
public class WebController {
    @GetMapping("/login")
    public String index(){
        return "login";
    }

    @GetMapping("/")
    public String home(){
        return "home";
    }

//    @GetMapping("/test")
//    public String test(){
//        return "login";
//    }

}
